package org.hockeystats.web;

import org.hockeystats.repository.PlayerRepository;
import org.springframework.beans.factory.annotation.Autowired;

import com.vaadin.Application;
import com.vaadin.ui.Label;
import com.vaadin.ui.Window;

public class HockeyStats extends Application {
	private static final long serialVersionUID = 1L;

	@Autowired
	private PlayerRepository playerRepository;
	
	@Override
	public void init() {
		Window mainWindow = new Window("HockeyStats");
		Label label = new Label("Hello Vaadin user");
		mainWindow.addComponent(label);
		setMainWindow(mainWindow);
	}

}
